
#ifndef _PAINELD_H_
#define _PAINELD_H_

#include <quicklib.h>
#include "OsciD.h"
#include "BotaoRe.h"
#include "BotaoIm.h"


class PainelD : public Controle
{

public:

    PainelD(int cx, int cy, int x, int y);

    void Redimensionar(int cx, int cy);

    bool AoBaixarEsq(EventoBaixarEsq ev);
    bool AoSubirEsq(EventoSubirEsq ev);

    OsciD* Osci() const {return m_OsciD;}
    BotaoRe* botaoRe() const {return m_BotaoRe;}
    BotaoIm* botaoIm() const {return m_BotaoIm;}
    
private:

    OsciD*    m_OsciD;
    BotaoRe*  m_BotaoRe;
    BotaoIm*  m_BotaoIm;

};


#endif  //_PAINELD_H_
